<{assign var="seo_sub_title" value="他的评价"}>
<{include file="gz/block/header.html"}>
<!--找工长头部结束-->
<div class="subwd mb20">
	<!--主体左边内容开始-->
	<div class="sub_designer_lt lt">
		<ul class="designer_nav hoverno">
			<li><a href="<{link ctl='gz:detail' arg0=$detail.uid}>" >主页</a>
			</li>
			<li><a href="<{link ctl='gz:about' arg0=$detail.uid}>">个人简介</a>
			</li>
			<li><a href="<{link ctl='gz:cases' arg0=$detail.uid}>" >案例展示</a>
			</li>
			<li><a href="<{link ctl='gz:site' arg0=$detail.uid}>">在建工地</a>
			</li>
             <li><a href="<{link ctl='gz:comment' arg0=$detail.uid}>"   class="current">他的评价</a>
			</li>
		</ul>
		<div class="cl"></div>
		<div class="area pding sub_designer">
        	<div class="new_pinglun disigner_pinglun mb10">
				<ul>
            	   <{foreach $items as $item}>
                	<li>
                        <div class="lt">
                        <img src="<{$pager.img}>/<{$user_list[$item.uid].face}>" class="lt" /><br />
                        <{$member_list[$item.uid].uname|cutstr:6:''}>
                        </div>
                        <div class="rt">
                            <p class="graycl"><span class="lt"><{foreach $CONFIG.score.gz as $k=>$v}><{if $v}><{$v}>:<{$item[$k]}>  <{/if}><{/foreach}></span> <span class="rt time"><{$item.dateline|format}></span></p>
                        <{if $item.audit}><p><{$item.content}></p><{else}><p class="tips"><span class="lock"><{$item.content}></span></p><{/if}>
                        </div>
                    </li>
                    <{/foreach}>					
				</ul>
				<{if $pager.pagebar}><div class="page hoverno"><{$pager.pagebar}></div><{/if}>
				<div class="pingjia_box pding">
					<h3>我要评价</h3>
					<div class="cl"></div>
                    <form action="/index.php?gz-commentsSign.html" mini-form="comment" method="post" class="pinglun">
                        <input type="hidden" name="uid" value="<{$detail.uid}>" />
                        <{foreach $CONFIG.score.gz as $k=>$v}>
                        <{if $v}>
                        <span  class="pf"><{$v}>：<input type="hidden" name="data[<{$k}>]" id="comment-<{$k}>" value="3" /><b comment-score="<{$k}>" data-score="3"></b></span>
                        <{/if}>
                        <{/foreach}>
                        <textarea class="text" name="data[content]" placeholder="您的点评..."></textarea>
                        <{if $CONFIG.access.verifycode.comment}>
                            验证码:<input class="text short" type="text" name="verifycode" placeholder="请输入验证码"/>
                            <img verify="#pass-verify" src="<{link ctl='magic:verify' http='ajax'}>&_=<{$pager.dateline}>" id="pass-verify"/>                               
                        <{/if}>
                        <input type="submit" value="发表评论" class="text btn rt pinglun_btn" />
                        <div class="cl"></div>
                    </form>
				</div>
			</div>
	</div>
	<script type="text/javascript" src="<{$pager.res}>/script/raty/jquery.raty.js"></script>
    <script type="text/javascript">
	(function(K, $){
		$('b[comment-score]').raty({
			path: "/static/script/raty/img/",
			score: function() {return $(this).attr('data-score');},
			hints: ["差","还行","好","很好","非常好"],
			click: function(score, evt) {$("#comment-"+$(this).attr("comment-score")).val(score);}
		});
		$('b[comment-score1]').raty({
			path: "/static/script/raty/img/",
			score: function() {return $(this).attr('data-score');},
			hints: ["差","还行","好","很好","非常好"],
			click: function(score, evt) {$("#comment-"+$(this).attr("comment-score")).val(score);}
		});
		
		$('b[comment-score2]').raty({
			path: "/static/script/raty/img/",
			score: function() {return $(this).attr('data-score');},
			hints: ["差","还行","好","很好","非常好"],
			click: function(score, evt) {$("#comment-"+$(this).attr("comment-score")).val(score);}
		});

	})(window.KT, window.jQuery);
	</script>
    <script>
	$("[verify]").click(function(){
		$($(this).attr("verify")).attr("src", "<{link ctl='magic:verify' http='ajax'}>&_"+Math.random());
	});
	</script>
	<!--主体右边内容开始-->
<{include file="blog/block/footer.html"}>